package cn.tool.dao.pojo.excelpojo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;


@Getter
@Setter
@EqualsAndHashCode
@HeadFontStyle(fontHeightInPoints = 15)
public class ExcelDepartment {

    @ColumnWidth(30)
    @ExcelProperty(value = "*部门名称", index = 0)
    private String DepartmentName;

    @ColumnWidth(10)
    @ExcelProperty(value = "联系电话", index = 1)
    private String phoneNumber;

    @ColumnWidth(10)
    @ExcelProperty(value = "法定代表人", index = 2)
    private String legalPerson;

    @ColumnWidth(10)
    @ExcelProperty(value = "联系地址", index = 3)
    private String addr;

    @ColumnWidth(10)
    @ExcelProperty(value = "登记注册证件号码", index = 4)
    private String registerNumber;

    @ColumnWidth(15)
    @ExcelProperty(value = "*行政区划代码\n" +
            "（12位）", index = 5)
    private String areaCode;

    @ColumnWidth(10)
    @ExcelProperty(value = "备注", index = 6)
    private String remark;

}
